package com.ruoyi.busy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 busy_mobile
 * 
 * @author ruoyi
 * @date 2025-09-22
 */
public class BusyMobile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    private Long id;

    /** 手机唯一标识符 */
    @Excel(name = "手机唯一标识符")
    private String phoneId;

    /** 空闲存储空间 (字节) */
    @Excel(name = "空闲存储空间 (字节)")
    private Long storageFree;

    /** 总存储空间 (字节) */
    @Excel(name = "总存储空间 (字节)")
    private Long storageTotal;

    /** 核心温度 (°C) */
    @Excel(name = "核心温度 (°C)")
    private Long coreTemp;

    /** APD管理器版本 */
    @Excel(name = "APD管理器版本")
    private String appApdManager;

    /** Hook应用版本 */
    @Excel(name = "Hook应用版本")
    private String appHook;

    /** 已安装应用列表 (JSON格式: {"包名": "版本号", ...}) */
    @Excel(name = "已安装应用列表")
    private String apps;

    /** 脚本扩展版本 */
    @Excel(name = "脚本扩展版本")
    private String appScriptExtend;

    /** 局域网IP地址 */
    @Excel(name = "局域网IP地址")
    private String ipLan;

    /** 互联网IP地址 */
    @Excel(name = "互联网IP地址")
    private String ipInternet;

    /** WebView版本 */
    @Excel(name = "WebView版本")
    private String appWebview;

    /** 节点精灵脚本版本 */
    @Excel(name = "节点精灵脚本版本")
    private String appScriptNodeSprite;

    /** ROM版本 */
    @Excel(name = "ROM版本")
    private String appRom;

    /** APD服务器版本 */
    @Excel(name = "APD服务器版本")
    private String appApdServer;

    /** APD守护进程版本 */
    @Excel(name = "APD守护进程版本")
    private String appApdDeamon;

    /** GAID */
    @Excel(name = "GAID")
    private String gaid;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String model;

    /** 电池电量百分比 */
    @Excel(name = "电池电量百分比")
    private Long batteryLevel;

    /** Chrome浏览器版本 */
    @Excel(name = "Chrome浏览器版本")
    private String appChrome;

    /** 平台名称 */
    @Excel(name = "平台名称")
    private String platform;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brand;

    /** 关联的用户令牌 (来自 busy_apkey 表) */
    @Excel(name = "关联的用户令牌 (来自 busy_apkey 表)")
    private String apkey;

    /** 分组ID */
    @Excel(name = "分组ID")
    private Long groupId;

    /** 设备状态 (0: 离线, 1: 在线) */
    @Excel(name = "设备状态 (0: 离线, 1: 在线)")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPhoneId(String phoneId) 
    {
        this.phoneId = phoneId;
    }

    public String getPhoneId() 
    {
        return phoneId;
    }

    public void setStorageFree(Long storageFree) 
    {
        this.storageFree = storageFree;
    }

    public Long getStorageFree() 
    {
        return storageFree;
    }

    public void setStorageTotal(Long storageTotal) 
    {
        this.storageTotal = storageTotal;
    }

    public Long getStorageTotal() 
    {
        return storageTotal;
    }

    public void setCoreTemp(Long coreTemp) 
    {
        this.coreTemp = coreTemp;
    }

    public Long getCoreTemp() 
    {
        return coreTemp;
    }

    public void setAppApdManager(String appApdManager) 
    {
        this.appApdManager = appApdManager;
    }

    public String getAppApdManager() 
    {
        return appApdManager;
    }

    public void setAppHook(String appHook) 
    {
        this.appHook = appHook;
    }

    public String getAppHook() 
    {
        return appHook;
    }

    public void setApps(String apps) 
    {
        this.apps = apps;
    }

    public String getApps() 
    {
        return apps;
    }

    public void setAppScriptExtend(String appScriptExtend) 
    {
        this.appScriptExtend = appScriptExtend;
    }

    public String getAppScriptExtend() 
    {
        return appScriptExtend;
    }

    public void setIpLan(String ipLan) 
    {
        this.ipLan = ipLan;
    }

    public String getIpLan() 
    {
        return ipLan;
    }

    public void setIpInternet(String ipInternet) 
    {
        this.ipInternet = ipInternet;
    }

    public String getIpInternet() 
    {
        return ipInternet;
    }

    public void setAppWebview(String appWebview) 
    {
        this.appWebview = appWebview;
    }

    public String getAppWebview() 
    {
        return appWebview;
    }

    public void setAppScriptNodeSprite(String appScriptNodeSprite) 
    {
        this.appScriptNodeSprite = appScriptNodeSprite;
    }

    public String getAppScriptNodeSprite() 
    {
        return appScriptNodeSprite;
    }

    public void setAppRom(String appRom) 
    {
        this.appRom = appRom;
    }

    public String getAppRom() 
    {
        return appRom;
    }

    public void setAppApdServer(String appApdServer) 
    {
        this.appApdServer = appApdServer;
    }

    public String getAppApdServer() 
    {
        return appApdServer;
    }

    public void setAppApdDeamon(String appApdDeamon) 
    {
        this.appApdDeamon = appApdDeamon;
    }

    public String getAppApdDeamon() 
    {
        return appApdDeamon;
    }

    public void setGaid(String gaid) 
    {
        this.gaid = gaid;
    }

    public String getGaid() 
    {
        return gaid;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setBatteryLevel(Long batteryLevel) 
    {
        this.batteryLevel = batteryLevel;
    }

    public Long getBatteryLevel() 
    {
        return batteryLevel;
    }

    public void setAppChrome(String appChrome) 
    {
        this.appChrome = appChrome;
    }

    public String getAppChrome() 
    {
        return appChrome;
    }

    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }

    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setApkey(String apkey) 
    {
        this.apkey = apkey;
    }

    public String getApkey() 
    {
        return apkey;
    }

    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("phoneId", getPhoneId())
            .append("storageFree", getStorageFree())
            .append("storageTotal", getStorageTotal())
            .append("coreTemp", getCoreTemp())
            .append("appApdManager", getAppApdManager())
            .append("appHook", getAppHook())
            .append("apps", getApps())
            .append("appScriptExtend", getAppScriptExtend())
            .append("ipLan", getIpLan())
            .append("ipInternet", getIpInternet())
            .append("appWebview", getAppWebview())
            .append("appScriptNodeSprite", getAppScriptNodeSprite())
            .append("appRom", getAppRom())
            .append("appApdServer", getAppApdServer())
            .append("appApdDeamon", getAppApdDeamon())
            .append("gaid", getGaid())
            .append("model", getModel())
            .append("batteryLevel", getBatteryLevel())
            .append("appChrome", getAppChrome())
            .append("platform", getPlatform())
            .append("brand", getBrand())
            .append("apkey", getApkey())
            .append("groupId", getGroupId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
